package softOffer;

import java.util.Arrays;
import java.util.Collections;
import java.util.Scanner;

public class NumberTest {
	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int n = scanner.nextInt();
		int m = scanner.nextInt();
		int k = scanner.nextInt();
		sort(n, m, k);
	}

	private static void sort(int n, int m, int k) {
		int[][] array = new int[m][n];
		int[] arr = new int[n*m];
		int temp = 0;
		int count = 1;
		for (int i = 1; i <= m; i++) {
		     for (int j = 1; j <= n; j++) {
				array[i - 1][j - 1] = i * j;
				arr[temp] = array[i - 1][j - 1];
				temp++;
			}
		}
	    Arrays.sort(arr,arr.length,0);
	    for (int i : arr) {
			System.out.print(i +" ");
		}
	    System.out.println(arr[k - 1]);
	   
	}
}
